/**
 *	\file AKAnimationProvider.h
 *  
 *  \section desc_sec Description
 *  Interface file for animation provider
 *  
 *  \if copyright
 *  	Copyright 2008 Ben Chen. All rights reserved.
 *  \endif
 *  
 *  \section hist_sec Change History:
 *  	-	5/5/08		BC		Created this file
 *  
 *  <hr>
 *  \addtogroup AnimalKingdom
 */

#import <QuartzCore/QuartzCore.h>
#import "AKPlugIn.h"

AK_EXPORT NSString * const kAKAnimationProviderLayerKey;
AK_EXPORT NSString * const kAKAnimationProviderStartRectKey;
AK_EXPORT NSString * const kAKAnimationProviderEndRectKey;

@protocol AKAnimationProvider <AKMultimediaPlugIn>

- (CAAnimation*)animationForEvent:(NSString*)eventTypeName piece:(AKPiece)aPiece info:(NSDictionary*)infoDict;

@optional

- (CALayer*)animationLayerForEvent:(NSString*)eventTypeName piece:(AKPiece)aPiece info:(NSDictionary*)infoDict;

@end
